import request from 'UTIL/request'

/**
 * 查询评论
 * @param params
 */
export function QueryCommentList(params) {
  return request({
    url: 'workTaskComment/queryCommentList',
    method: 'POST',
    data: params,
		header: {
			'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
		}
  })
}

/**
 * 添加评论
 * @param params
 */
export function SetComment(params) {
  return request({
    url: 'workTaskComment/setComment',
    method: 'POST',
    data: params
  })
}

/**
 * 删除评论
 * @param params
 */
export function DeleteComment(params) {
  return request({
    url: 'workTaskComment/deleteComment',
    method: 'POST',
    data: params
  })
}
